//
//  UINavigationController+navi.m
//  DuoChong
//
//  Created by 唐开江 on 14/12/12.
//  Copyright (c) 2014年 KangZhi. All rights reserved.
//

#import "UINavigationController+KJ.h"

@implementation UINavigationController (KJ)


//适配iOS7和iOS 8
- (void)jumpToController:(UIViewController *)controller
{
    if (iOS8) {
        [self  showViewController:controller sender:nil];
    }else {
        
        [self pushViewController:controller animated:YES];
    }
    
}

@end
